﻿#pragma once
#include "CodeGen.h"

class ClassInstanceType;
class ClassMemberGen : public CodeGen
{
public:
	CodeGen	*value = nullptr;
	int index = -1;
	std::string name;
	ClassInstanceType * classType = nullptr;
protected:
	llvm::Value* generateCode(llvm::Module *m, llvm::Function *func, llvm::IRBuilder<>&);
};

